home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / dom / nsIDOMSVGLineElement.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  4KB  |  128 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIDOMSVGLineElement.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIDOMSVGLineElement_h__
  6. #define __gen_nsIDOMSVGLineElement_h__
  7.  
  8.  
  9. #ifndef __gen_nsIDOMSVGElement_h__
  10. #include "nsIDOMSVGElement.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17. class nsIDOMSVGAnimatedLength; /* forward declaration */
  18.  
  19.  
  20. /* starting interface:    nsIDOMSVGLineElement */
  21. #define NS_IDOMSVGLINEELEMENT_IID_STR "4ea07ef3-ed66-4b41-8119-4afc6d0ed5af"
  22.  
  23. #define NS_IDOMSVGLINEELEMENT_IID \
  24.   {0x4ea07ef3, 0xed66, 0x4b41, \
  25.     { 0x81, 0x19, 0x4a, 0xfc, 0x6d, 0x0e, 0xd5, 0xaf }}
  26.  
  27. class NS_NO_VTABLE nsIDOMSVGLineElement : public nsIDOMSVGElement {
  28.  public: 
  29.  
  30.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMSVGLINEELEMENT_IID)
  31.  
  32.   /* readonly attribute nsIDOMSVGAnimatedLength x1; */
  33.   NS_IMETHOD GetX1(nsIDOMSVGAnimatedLength * *aX1) = 0;
  34.  
  35.   /* readonly attribute nsIDOMSVGAnimatedLength y1; */
  36.   NS_IMETHOD GetY1(nsIDOMSVGAnimatedLength * *aY1) = 0;
  37.  
  38.   /* readonly attribute nsIDOMSVGAnimatedLength x2; */
  39.   NS_IMETHOD GetX2(nsIDOMSVGAnimatedLength * *aX2) = 0;
  40.  
  41.   /* readonly attribute nsIDOMSVGAnimatedLength y2; */
  42.   NS_IMETHOD GetY2(nsIDOMSVGAnimatedLength * *aY2) = 0;
  43.  
  44. };
  45.  
  46. /* Use this macro when declaring classes that implement this interface. */
  47. #define NS_DECL_NSIDOMSVGLINEELEMENT \
  48.   NS_IMETHOD GetX1(nsIDOMSVGAnimatedLength * *aX1); \
  49.   NS_IMETHOD GetY1(nsIDOMSVGAnimatedLength * *aY1); \
  50.   NS_IMETHOD GetX2(nsIDOMSVGAnimatedLength * *aX2); \
  51.   NS_IMETHOD GetY2(nsIDOMSVGAnimatedLength * *aY2); 
  52.  
  53. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  54. #define NS_FORWARD_NSIDOMSVGLINEELEMENT(_to) \
  55.   NS_IMETHOD GetX1(nsIDOMSVGAnimatedLength * *aX1) { return _to GetX1(aX1); } \
  56.   NS_IMETHOD GetY1(nsIDOMSVGAnimatedLength * *aY1) { return _to GetY1(aY1); } \
  57.   NS_IMETHOD GetX2(nsIDOMSVGAnimatedLength * *aX2) { return _to GetX2(aX2); } \
  58.   NS_IMETHOD GetY2(nsIDOMSVGAnimatedLength * *aY2) { return _to GetY2(aY2); } 
  59.  
  60. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  61. #define NS_FORWARD_SAFE_NSIDOMSVGLINEELEMENT(_to) \
  62.   NS_IMETHOD GetX1(nsIDOMSVGAnimatedLength * *aX1) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetX1(aX1); } \
  63.   NS_IMETHOD GetY1(nsIDOMSVGAnimatedLength * *aY1) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetY1(aY1); } \
  64.   NS_IMETHOD GetX2(nsIDOMSVGAnimatedLength * *aX2) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetX2(aX2); } \
  65.   NS_IMETHOD GetY2(nsIDOMSVGAnimatedLength * *aY2) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetY2(aY2); } 
  66.  
  67. #if 0
  68. /* Use the code below as a template for the implementation class for this interface. */
  69.  
  70. /* Header file */
  71. class nsDOMSVGLineElement : public nsIDOMSVGLineElement
  72. {
  73. public:
  74.   NS_DECL_ISUPPORTS
  75.   NS_DECL_NSIDOMSVGLINEELEMENT
  76.  
  77.   nsDOMSVGLineElement();
  78.  
  79. private:
  80.   ~nsDOMSVGLineElement();
  81.  
  82. protected:
  83.   /* additional members */
  84. };
  85.  
  86. /* Implementation file */
  87. NS_IMPL_ISUPPORTS1(nsDOMSVGLineElement, nsIDOMSVGLineElement)
  88.  
  89. nsDOMSVGLineElement::nsDOMSVGLineElement()
  90. {
  91.   /* member initializers and constructor code */
  92. }
  93.  
  94. nsDOMSVGLineElement::~nsDOMSVGLineElement()
  95. {
  96.   /* destructor code */
  97. }
  98.  
  99. /* readonly attribute nsIDOMSVGAnimatedLength x1; */
  100. NS_IMETHODIMP nsDOMSVGLineElement::GetX1(nsIDOMSVGAnimatedLength * *aX1)
  101. {
  102.     return NS_ERROR_NOT_IMPLEMENTED;
  103. }
  104.  
  105. /* readonly attribute nsIDOMSVGAnimatedLength y1; */
  106. NS_IMETHODIMP nsDOMSVGLineElement::GetY1(nsIDOMSVGAnimatedLength * *aY1)
  107. {
  108.     return NS_ERROR_NOT_IMPLEMENTED;
  109. }
  110.  
  111. /* readonly attribute nsIDOMSVGAnimatedLength x2; */
  112. NS_IMETHODIMP nsDOMSVGLineElement::GetX2(nsIDOMSVGAnimatedLength * *aX2)
  113. {
  114.     return NS_ERROR_NOT_IMPLEMENTED;
  115. }
  116.  
  117. /* readonly attribute nsIDOMSVGAnimatedLength y2; */
  118. NS_IMETHODIMP nsDOMSVGLineElement::GetY2(nsIDOMSVGAnimatedLength * *aY2)
  119. {
  120.     return NS_ERROR_NOT_IMPLEMENTED;
  121. }
  122.  
  123. /* End of implementation class template. */
  124. #endif
  125.  
  126.  
  127. #endif /* __gen_nsIDOMSVGLineElement_h__ */
  128.